﻿<html>
<title>Câu 16</title>
<FORM METHOD = POST ACTION="#">	
<center><h1><b><font color="blue" size=20>Bài 16 <hr width =30%></font></h1></u>
      <br>
   <b><i><font color= "blue">Số a:</font></i></b>
   <INPUT  TYPE= "float" NAME ="a" SIZE="4">
   <b><i><font color= "blue"> Số b:</font></i></b>
   <INPUT  TYPE= "float" NAME ="b" SIZE="4">
      <br><br>
   <input type="submit" value="Tìm" name="Xử lý"  />
   <input type="reset"  value ="Xóa" name ="Xóa"/>

   <font color="blue" size="30">
   <br><br>
 <hr width =50%>
 </html>
 <?php
 global $a,$b,$c;
   if(isset($_POST["a"])&&isset($_POST["b"]))
     {
       $a=$_POST["a"]; $b=$_POST["b"];
     if($a==null or $b==null )
        {
	      echo "Null!";
	      return;
	    }
	$k=is_numeric($a);
	$h=is_numeric($b);
      if($k!=1 or $h!=1)
	    { 
          echo "Not ";
	      return;
	    }
	function tim_max($a,$b)
	{
		$max=$a;
		if($a<$b)
		 {
		  $max=$b;
		  }
		 echo "<br> Số lớn nhất là :" .$max;
		 }
		tim_max($a,$b);
} 
 ?>